<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src='./cookie.js'> </script>
    <script>
            // 设置cookie
            // cookieObj.setCookie("grade","三年级",3);
            // cookieObj.setCookie("shengao","180",5);
            // cookieObj.setCookie("tizhong","190",9);

            // console.log(cookieObj.getCookie("grade"))//获取cookie
            // console.log(cookieObj.delCookie("tizhong")) //删除cookie
    </script>
</body>
</html>